from apps.pam.views import Pam_business_opportunity_RecordsViewSet, Pam_Contract_tobesigned_RecordsViewSet, \
    Pam_contract_management_RecordsViewSet, Pam_framecontract_order_RecordsViewSet, \
    Pam_framecontract_order_whole_RecordsViewSet, Pam_singlecontract_order_whole_RecordsViewSet, \
    Pam_supplier_management_RecordsViewSet
from extensions.routers import *

router = BaseRouter()

router.register('Pam_business_opportunity_Records', Pam_business_opportunity_RecordsViewSet, 'Pam_business_opportunity_Records')#商机管理
router.register('Pam_Contract_tobesigned_Records', Pam_Contract_tobesigned_RecordsViewSet, 'Pam_Contract_tobesigned_Records')#待签约合同管理
router.register('Pam_contract_management_Records', Pam_contract_management_RecordsViewSet, 'Pam_contract_management_Records')#合同管理
router.register('Pam_framecontract_order_Records', Pam_framecontract_order_RecordsViewSet, 'Pam_framecontract_order_Records')#框架合同订单管理
router.register('Pam_framecontract_order_whole_Records', Pam_framecontract_order_whole_RecordsViewSet, 'Pam_framecontract_order_whole_Records')#项目全流程管理数据台账-框架合同
router.register('Pam_singlecontract_order_whole_Records', Pam_singlecontract_order_whole_RecordsViewSet, 'Pam_singlecontract_order_whole_Records')#项目全流程管理数据台账-单项合同
router.register('Pam_supplier_management_records', Pam_supplier_management_RecordsViewSet, 'pam_supplier_management_records')
urlpatterns = router.urls